package com.basics.framework.security.redisData;/*
package com.basics.framework.security.redisData;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.basics.framework.redis.RedisCache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.util.List;

@Component
public class AreaRedisData {
    @Autowired
    private AppAreaMapper appAreaMapper;
    @Autowired
    private RedisCache redisCache;

    public AreaRedisData() {
    }

    @PostConstruct
    public void init() {
        QueryWrapper<AppArea> queryWrapper = new QueryWrapper();
        List<AppArea> appAreaList = this.appAreaMapper.selectList(queryWrapper);
        this.redisCache.setCacheObject("areaData", appAreaList);
    }
}*/
